package com.tdzh.maimaiti.biz;

import android.content.Context;
import android.telephony.TelephonyManager;

/**
 * Created by hisou on 2016/4/21.
 */
public class GetNative {

    private TelephonyManager telephonyManager;

    private String IMSI;
    private Context cxt;
    public GetNative(Context context) {
        cxt=context;
        telephonyManager = (TelephonyManager) context
                .getSystemService(Context.TELEPHONY_SERVICE);
    }

    public  String getNativePhoneNumber() {
        String NativePhoneNumber=null;
        NativePhoneNumber=telephonyManager.getLine1Number();
        return NativePhoneNumber;
    }

}
